package com.ruoyi.system.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车场信息对象 part_lot
 *
 * @author ruoyi
 * @date 2024-01-06
 */
public class PartLot extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long partLotId;

    /**
     * 停车场编号
     */
    @Excel(name = "停车场编号")
    private String partLotNum;

    /**
     * 停车场名称
     */
    @Excel(name = "停车场名称")
    private String partLotName;

    /**
     * 停车场类型
     */
    @Excel(name = "停车场类型")
    private Long partTypeId;

    /**
     * 省份
     */
    private String province;

    /**
     * 市
     */
    private String city;

    private PartType partType = new PartType();

    public void setPartLotId(Long partLotId) {
        this.partLotId = partLotId;
    }

    public Long getPartLotId() {
        return partLotId;
    }

    public void setPartLotNum(String partLotNum) {
        this.partLotNum = partLotNum;
    }

    public String getPartLotNum() {
        return partLotNum;
    }

    public void setPartLotName(String partLotName) {
        this.partLotName = partLotName;
    }

    public String getPartLotName() {
        return partLotName;
    }

    public void setPartTypeId(Long partTypeId) {
        this.partTypeId = partTypeId;
    }

    public Long getPartTypeId() {
        return partTypeId;
    }

    public PartType getPartType() {
        return partType;
    }

    public void setPartType(PartType partType) {
        this.partType = partType;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "PartLot{" +
                "partLotId=" + partLotId +
                ", partLotNum='" + partLotNum + '\'' +
                ", partLotName='" + partLotName + '\'' +
                ", partTypeId=" + partTypeId +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", partType=" + partType +
                '}';
    }
}